<?php
/**
 * Created by PhpStorm.
 * User: lx
 * Date: 2020/1/6
 * Time: 15:47
 */

namespace app\Validate;


class ConfigValidate extends RequestValidate
{
    protected function rulesList()
    {
        switch ($this->action) {
            case 'adLocalList':
                return [
                    'ap_keyword' => 'require',
                ];
                break;
        }
    }
}